﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using bkfexp.Properties;

namespace bkfexp {
    public class WIP : IDisposable {
        Form form;
        PictureBox pb;

        public WIP(Form form) {
            pb = new PictureBox();
            pb.Parent = this.form = form;
            pb.Dock = DockStyle.Fill;
            pb.BackgroundImage = Resources.wip;
            pb.BackgroundImageLayout = ImageLayout.Tile;
            pb.Show();
            pb.BringToFront();
            form.Update();
        }

        #region IDisposable メンバ

        public void Dispose() {
            pb.Dispose();

        }

        #endregion
    }
}
